class CreateSeeds < ActiveRecord::Migration
  def change
    create_table :seeds do |t|
      t.string     :name                 		                  # Ekin nomi
      t.integer    :amount  		                              # Ekinni sotib olish narxi monetada
      t.integer    :ripening_time 														# Ekinni saqlash vaqti minutda
      t.integer    :fertilizer_time   												# Ekinga o`g`it solish  intervali secundlarda
      t.integer    :income                  									# Ekinni qancha daromad keltirishi monetada
      t.integer	   :experience                                # Ekinni qancha  keltirishi opitda
      t.integer    :items     																# Nechta ekin hosil bo`lishi
			t.integer   :available_level 														# qaysi urovendan boshlash
			t.integer   :state, :null => false, :default =>1, :limit => 1      
			t.timestamps
    end
  end
end

